﻿@using ElingOA6_Admin_DSJCJ.Common
@{
    Layout = null;
    ViewBag.Title = "评议细则定义";
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    @Html.DevExpress().GetStyleSheets(
        new StyleSheet { ExtensionType = ExtensionType.Splitter, Theme = DevExpressHelper.Theme }

)
    @Html.DevExpress().GetScripts(
            new Script { ExtensionType = ExtensionType.Splitter }
    )
    <script type="text/javascript">
        $(document).ready(function () {
            var hdisFstatus = $("#hdisFstatus").val();
            if (hdisFstatus != "") {
                if (hdisFstatus == "B") {
                    $("#div1").show();
                    $("#div2").hide();
                } else {
                    $("#div1").hide();
                    $("#div2").show();
                }
            } else {
                $("#div1").hide();
                $("#div2").show();
            }

        });
    </script>
</head>
<body>
<script type="text/javascript">
    if (top.boardtop) top.boardtop.head_txt.innerText = "评议细则定义";

</script>
    <div id="div1" style="display:none;">
        <table valign="middle"  align="center" border="0">
            <tr><td>&nbsp;</td></tr>
            <tr><td>&nbsp;</td></tr>
            <tr><td>&nbsp;</td></tr>
            <tr><td>&nbsp;</td></tr>
            <tr height="30">
                <td align="center" width="40%" colspan="2" style="font-size: 12px;text-align:center;">
               &nbsp;&nbsp;评议主题已启动,无法再定义评议细则!
                    </td>
            </tr>

        </table>
    </div>
    <div id="div2" style="display:none;">
    @Html.DevExpress().Splitter(settings =>
{
    settings.Name = "ContentSplitter";
    settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Height = System.Web.UI.WebControls.Unit.Percentage(100);
    settings.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);
    settings.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
    settings.FullscreenMode = true;
    settings.Panes.Add(subpane =>
    {
        subpane.Name = "ContentCenter";
        subpane.PaneStyle.CssClass = "contentPane";
        subpane.Separator.Visible = DefaultBoolean.True;
        subpane.Separator.SeparatorStyle.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
        subpane.Separator.SeparatorStyle.BorderTop.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
        subpane.ScrollBars = System.Web.UI.WebControls.ScrollBars.Auto;
        subpane.SetContent("<iframe  id='contentframe' name='contentframe' style='width:100%;height:100%' frameborder='0' src='" + Url.Action("PeerReviewRuleContent", "PeerReviewRule") + "'></iframe>");
        
    });

}).GetHtml()
</div>
@Html.Hidden("hdisFstatus", ViewData["isFstatus"])
</body>
</html>
